package com.cdks.wuxiu.api.model.vo;

import com.fasterxml.jackson.annotation.JsonInclude;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RadioReplyVO {
    @ApiModelProperty(value = "用户信息")
    public UserInfoVO userInfo;

    @ApiModelProperty(value = "评论信息")
    public ReplyInfoVO replyInfo;

    @Data
    @JsonInclude(JsonInclude.Include.NON_NULL)
    public static class ReplyInfoVO {
        /**
         * 评论记录id
         */
        @ApiModelProperty("id")
        private Long id;

        /**
         * 创建时间戳
         */
        @ApiModelProperty("createTime")
        private Integer createTime;

        /**
         * 回复用户id
         */
        @ApiModelProperty("destId")
        private Long destId;

        /**
         * 被回复的评论id
         */
        @ApiModelProperty("fatherId")
        private Long fatherId;

        /**
         * 该评论被回复次数
         */
        @ApiModelProperty("replyCnt")
        private Long replyCnt;

        /**
         * 被回复用户昵称
         */
        @ApiModelProperty("destName")
        private String destName;

        /**
         * 文字内容
         */
        @ApiModelProperty("content")
        private String content;
    }
}
